package com.imeth.cms.service;

import com.imeth.base.model.Paging;
import com.imeth.cms.Media;

import java.util.List;

/**
 * Created by peter on 12/24/2015.
 */
public interface MediaService {

    int save(Media media);

    int update(Media media);

    Media getById(Integer id);

    List<Media> query(Paging paging);

    int batchDelete(List<Integer> ids);
}
